package vip.geeker.iotms.persistance.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import vip.geeker.iotms.dto.DeviceWarnInfoDto;
import vip.geeker.iotms.persistance.model.DeviceWarnInfo;

import java.util.List;

public interface DeviceWarnInfoMapper extends BaseMapper<DeviceWarnInfo> {

    int deleteByPrimaryKey(Integer id);

    int insert(DeviceWarnInfo record);

    int insertSelective(DeviceWarnInfo record);

    DeviceWarnInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DeviceWarnInfo record);

    int updateByPrimaryKey(DeviceWarnInfo record);

    List<DeviceWarnInfo> queryPage(DeviceWarnInfo warnInfo);

    List<DeviceWarnInfoDto> queryDeviceWarnInfoDto(DeviceWarnInfo warnInfo);
}